package com.feng.vhr.mapper;

import com.feng.vhr.pojo.MenuRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author feng
 * @since 2022-05-09
 */
public interface MenuRoleMapper extends BaseMapper<MenuRole> {

    @Select("select mid from menu_role where rid=#{rid}")
    public List<Integer> getMidsByRid(int rid);

}
